package com.bto.solar.work.dto.order;

import com.bto.solar.work.dto.FormBtnsDto;
import com.bto.solar.work.entity.Design;
import com.bto.solar.work.entity.OrderState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author 王小波
 * @description:
 * @date 2023/8/19 11:19
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class DesignDto extends Design {

    @ApiModelProperty("任务状态")
    private OrderState orderState;

    @ApiModelProperty("按钮信息")
    private FormBtnsDto btns;

    @Data
    @NoArgsConstructor
    @Accessors(chain = true)
    public static class DesignDevice {
        @ApiModelProperty("设备类型")
        private String deviceType;

        @ApiModelProperty("设备规格")
        private String deviceSpec;

        @ApiModelProperty("设备数量")
        private Integer quantity;
    }


}
